function get_map(centerlat, centerlng, string)
	{
		if (GBrowserIsCompatible()) {


        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(centerlat, centerlng), 13);
		map.addControl(new GSmallMapControl());
      	map.addControl(new GMapTypeControl());
	  	//map.addControl(new GOverviewMapControl());
		//map.addOverlay(new GMarker(new GLatLng(37.75334401310656, -122.44125366210938)));
		
		function createMarker(point, number) {
		  var marker = new GMarker(point, newbaseIcon);
		  GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowHtml("<b>" + number + "</b>");
		  });
		  return marker;
		}
		
		//load the xml points
		  var xml = GXml.parse(string);
		  var markers = xml.documentElement.getElementsByTagName("marker");
		  
		  for (var i = 0; i < markers.length; i++) 
		  {
			var point = new GLatLng(parseFloat(markers[i].getAttribute("lat")), parseFloat(markers[i].getAttribute("lng")));						
			var html = "<a href='"+GXml.value(markers[i].getElementsByTagName("link")[0])+"'>"+GXml.value(markers[i].getElementsByTagName("info")[0])+"</a>";
			var html = html + "<BR>Zestimate&trade;: "+GXml.value(markers[i].getElementsByTagName("price")[0]);
			
			
			map.addOverlay(createMarker(point, html));
			
		  }
		  var marker = new GMarker(new GLatLng(centerlat, centerlng));
		  GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowHtml("<b>Center</b>");
													   });
		  map.addOverlay(marker)

      }
		
	}
